#include <stdio.h>
#include <stdlib.h>
#include "ths_test.h"

void ths_test_assert_true(_Bool condition, char const* message, char const* func, char const* file, int line) {
	if (!condition) {
		fprintf(stderr, "Assertion failed: %s, in %s (%s:%i)\n", message, func, file, line);
		exit(EXIT_FAILURE);
	}
}


void ths_test_all() {
	ths_xml_test_all();
	ths_ini_test_all();
}
